package com.zy.search.service;

import com.zy.pojo.TbItem;
import com.zy.search.pojo.Item;
import com.zy.search.pojo.SearchResult;

public interface SearchService {
	/**
	 * 	根据条件查询，并且分页
	 */
	public SearchResult search(String queryString, int page, int rows) throws Exception;
	
	/**
	 * 根据商品id查询
	 * @throws Exception 
	 */
	public Item queryItemById(String id) throws Exception;
}
